.TH pkgsanitychecks 1 "January 05, 2009" "Matthias Klose"

.SH NAME

pkgsanitychecks \- run sanity checks on the package

.SH SYNOPSIS

.B pkgsanitychecks
.IR directory

.SH DESCRIPTION

.B pkgsanitychecks
runs sanity checks on the binary packages and lets the build fail if the sanity
checks don't pass.

The following checks are run:
.TP
.B Location of public python modules
Starting with python-2.6 the public python modules are expected to be placed in
.I /usr/lib/pythonX.Y/dist-packages
instead of
.I /usr/lib/pythonX.Y/site-packages.
.TP
.B Files in /usr/local
Checks if any files are placed in
.I /usr/local
instead of
.I /usr.
.TP
.B Files in /usr/share/initramfs-tools/hooks/
Checks if any files are placed in
.I /usr/share/initramfs-tools/hooks/
are not executable.

.SH ENVIRONMENT VARIABLES

.TP
.B NO_PKG_MANGLE
If this variable is set to a nonempty value, then pkgsanitychecks
is disabled. This is most useful if source packages build nested binary
packages as part of their build.

.SH AUTHOR
.B pkgsanitychecks
is developed by Matthias Klose <doko@ubuntu.com>.
